package com.honor.games.wg.entities;

import java.util.LinkedList;
import java.util.List;

public class WGWorld {

	private WGPlayer player1 = new WGPlayer(WGPlayerType.PLAYER1);
	private WGPlayer player2 = new WGPlayer(WGPlayerType.PLAYER2);
	
	private WGBoard board;
	
	private List<WGUnit> units = new LinkedList<WGUnit>();
	
	public WGWorld(int boardTilesWidthNumber, int boardTilesHeightNumber) {
		board = new WGBoard(boardTilesWidthNumber, boardTilesHeightNumber);
	}
	
	public WGPlayer getPlayer1() {
		return player1;
	}
	public void setPlayer1(WGPlayer player1) {
		this.player1 = player1;
	}
	public WGPlayer getPlayer2() {
		return player2;
	}
	public void setPlayer2(WGPlayer player2) {
		this.player2 = player2;
	}
	public WGBoard getBoard() {
		return board;
	}
	public void setBoard(WGBoard board) {
		this.board = board;
	}
	public List<WGUnit> getUnits() {
		return units;
	}
	public void setUnits(List<WGUnit> units) {
		this.units = units;
	}
	
}
